package com.obas.flex.common.util {
   import com.ease.util.ResourceLoader;
   import com.obas.flex.common.util.ClientErrorUtil;

   public class ResourceUtil {
      public static function getString(resourceKey:String,
                                       parameters:Array = null,
                                       bundleName:String = "TestingLib"):String {
         return ResourceLoader.instance().getString(bundleName, resourceKey, parameters);
      }

      public static function getErrorString(resourceKey:String,
                                       error:Error,
                                       bundleName:String = "TestingLib"):String {
         return ClientErrorUtil.getErrorString(bundleName, resourceKey, error);
      }
   }
}